﻿namespace KLF.Lib.Browser.Events
{
    #region Using Statements

    using System;

    #endregion

    /// <summary>
    /// This event gets fired when a POST or GET fails.
    /// </summary>
    public class NavigationErrorArgs : EventArgs
    {
        #region Constructors

        public NavigationErrorArgs(RequestContext context, Exception error)
        {
            Context = context;
            Error = error;
        }

        #endregion

        #region Attributes

        public readonly RequestContext Context;

        public readonly Exception Error;

        #endregion
    }
}
